<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>提示信息</title>

        <style>
            #main_div {
                text-align:center;
                border: 1px solid #aaa;
                width: 420px;
                margin: 40px auto;
                padding: 20px 20px;
                border-radius: 5px;
                font-family: '微软雅黑';
            }

            #main_div h5 {
                margin: 0;
                font-size: 24px;
                padding: 0 0 10px 0;
                border-bottom: 1px solid #ccc;
            }

            #main_div .message {
                display:inline-block;
                display:-moz-inline-stack;zoom:1;
                *display:inline;
                margin: 10px 0;
                text-align: left;
            }

        </style>



    </head>
    <body>
        <div id="main_div">
            <h5>提示信息</h5>

            <div class="message"><{$message nofilter}></div>

            <div class="return">
                <{if empty($url) || $url=='goback'}>
                <a id="href" href="javascript:history.back();" >[返回上一页]</a>
                <{else}>
                <a id="href" href="<{$url}>">[如果您的浏览器没有跳转，请点击这里跳转]</a>
                <{/if}>
                等待时间： <b id="wait">2</b>
            </div>
        </div>
    </body>
</html>

<script type="text/javascript" src="/public/static/js/jquery.min.js"></script>
<script type="text/javascript">


    
if(top.location == self.location){  
    (function(){
        var wait = $('#wait').text();
        var href = $('#href').attr('href');
        var interval = setInterval(function(){   	
            var time = --wait;
            $('#wait').text(time);
            if(time <= 0) {
                location.href = href;
                clearInterval(interval);
            };
        }, 1000);
    })();
}else{
	$('.return').hide();
}
</script>